package oop.java0328.work3;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("当当", "柯基犬", 20);
        Penguin penguin = new Penguin("呃呃", "帝企鹅", 100);
        Parrot parrot = new Parrot("菲菲", "金刚鹦鹉", 10);
        dog.introduce();
        dog.method();
        System.out.println("*********************************");
        penguin.introduce();
        penguin.swim();
        System.out.println("*********************************");
        parrot.introduce();
        parrot.fly();
    }
}
